package com.qianji.utils;

import com.alibaba.excel.annotation.ExcelIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class LimitDto {

    /**
     * 页码数
     */
    @ExcelIgnore
    @ApiModelProperty(value = "当前页数",example = "0")
    @NotNull(message = "页码不能为空")
    private Integer page;

    /**
     * 一页条数
     */
    @ExcelIgnore
    @ApiModelProperty(value = "每页显式条数",example = "0")
    @NotNull(message = "每页显式条数不能为空")
    private Integer limit;


}
